home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20030409-20031118
/
000408_fdc@columbia.edu_Tue Nov 11 12:56:15 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problem with Kermit spawned from Expect script sending files
Date: 11 Nov 2003 16:14:48 GMT
Organization: Columbia University
Lines: 36
Message-ID: <slrnbr22no.dhj.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070527.6ce76ffc@posting.google.com> <slrnbqnbfm.380.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070946.62574f98@posting.google.com> <slrnbqns98.69r.fdc@sesame.cc.columbia.edu> <slrnbqnsgg.856.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311100537.7a4d4faf@posting.google.com> <3fafafd0$1@yorrell.saard.net> <f0bb0f39.0311110437.62628a03@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068567288 9267 128.59.59.56 (11 Nov 2003 16:14:48 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 11 Nov 2003 16:14:48 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14664
In article <f0bb0f39.0311110437.62628a03@posting.google.com>,
newexpectuser wrote:
: Arthur Marsh <arthur.marsh@internode.on.net>
: wrote in message news:<3fafafd0$1@yorrell.saard.net>...
:> newexpectuser wrote:
:> try using REMOTE DIRECTORY or its shortened form, RDIR
:
: I tried the RDIR and then a ls command to make sure i was in the
: remote directory, but I got the local directory listing, unless my ls
: command only shows the local directory ?..I am also running this first
: from a command line in Unix using ./script.sh.
:
RDIR, LS, and DIRECTORY are three different commands. Each one does a
different thing. Only RDIR requests a directory listing from the remote
server.
In a file transfer and management system such as Kermit (or, for that
matter, FTP) there needs to be a way to refer to both local and remote
files. By default, unprefixed commands such as DELETE, DIRECTORY, RENAME,
etc, refer to local files. If you prefix them with the word REMOTE, or
use the R-shortcuts (RDEL, RDIR, RREN, etc), they apply to remote files.
For completeness and symmetry, there are also L-shortcuts to force reference
to local files: LDEL, LDIR, LREN, etc.
You can even have Kermit change the default for unprefixed commands; for
example, to make it act like FTP:
SET LOCUS REMOTE
Then unprefixed file management commands refer to remote files. For more
about this, see:
http://www.columbia.edu/kermit/ckermit80.html#x3.4
- Frank